<?php
class Suggest_model extends CI_Model {
	function __construct()
    {
        parent::__construct();
    }
    
	public function add($data) {   
		$this->db->insert("suggests", $data);
		return $this->db->insert_id();
	}
	
}